import CustomTable from './CustomTable';
import { setContentWrapper, setInputFilterRules } from './Props';

export default {
  config(option) {
    let { contentWrapper, inputFilterRules } = option;

    if (typeof contentWrapper !== void 0) {
      setContentWrapper(contentWrapper);
    }
    if (typeof inputFilterRules !== void 0) {
      setInputFilterRules(inputFilterRules);
    }
  },
  install(Vue) {
    Vue.component(CustomTable.name, CustomTable);
  },
};
